﻿using elctronixMVC.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace elctronixMVC.Controllers
{
    public class MarkalarController : Controller
    {
        //
        // GET: /Markalar/
        
        public ActionResult Index(int id)
        {
            urunler u = new urunler();
            u.supplierID = id;

            ViewBag.Markaurunler = u.urunlergetirmarkali(); 
            return View();
        }

    }
}
